// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import App from './App'
import router from './router'

import {UtilPromptMsg} from './utils/utilPromptMsg';
import Http from "./plugins/htttp";

Vue.use(ElementUI);

let utilPromptMsg = new UtilPromptMsg(Vue.prototype.$message);
Vue.prototype.$Util = utilPromptMsg
Vue.prototype.$Http = Http

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
